<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看酒店点评</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/base.css" type="text/css" media="screen" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/page.css" type="text/css" media="screen" />
<script src="${pageContext.request.contextPath}/common/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/common/js/common.js" type="text/javascript"></script>

</head>
<body>
<div class="pd10">	
	<div class="listbox">
		<form id="form" method="post">
			<div>
				<table class="addtab"  align="left">	
					<tr>
						<th>评论意见</th>
						<td>
							<s:if test="review.comment==1">
							<font color="green">好评</font>
							</s:if>
							<s:elseif test="review.comment==2">
							<font color="#EE7942">中评</font>
							</s:elseif>
							<s:else>
							<font color="red">差评</font>
							</s:else>
						</td>
					</tr>
					<tr>
						<th>评论人</th>
						<td>${review.userName}</td>
					</tr>	
					<tr>
						<th>评论时间</th>
						<td><s:date name="review.entryDate" format="yyyy-MM-dd HH:mm:ss"/></td>
					</tr>	
					<tr>
						<th>评论详情</th>
						<td>${review.remark}</td>
					</tr>			
				</table>
			</div>
			<div class="hidden"><input id="editsubmit" type="submit"/></div>
		</form>
	</div>
</div>
</body>
</html>